ACFWF\Models\Store_Credits\Admin S

Total Complexity 46
Dependencies 5
Dependents 1
Total lines 477
Lines of code 192
Logical lines of code 109
Comment lines 212
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
deduct_store_credit_amount_from_total_discounts_on_edit_order_page()
S
61 6 11
display_store_credits_payment_summary()
S
52 5 22
display_recalculate_button_for_old_orders_store_credits_discount()
S
61 4 13
manual_refund_via_store_credits()
S
51 3 26
_init_settings()
S
67 4 7
_create_db_table()
S
55 2 22
run()
S
55 2 19
display_store_credits_summary_in_order_preview_popup()
S
68 3 6
order_recalculate_store_credit_discounts()
S
65 3 9
delete_user_store_credit_entries()
S
62 2 12
initialize()
S
68 2 7
append_store_credits_to_refund_item_name()
S
70 2 6
display_paid_in_store_credits_row()
S
66 2 8
display_store_credits_discount_on_edit_order()
S
66 2 8
set_zero_balance_for_new_registered_user()
S
70 2 6
activate()
S
78 1 4
__construct()
S
69 1 6